package com.itheima.vo.pojo;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 订单表
 */
@Data
public class OmsOrder implements Serializable {

  //@JsonProperty(value = "orderId")
  private long id;
  @TableField(exist = false)
  private long orderId;
  private long memberId;
  private long couponId;
  private String orderSn;
  private LocalDateTime createTime;
  private String memberUsername;
  private double totalAmount;
  private double payAmount;
  private double freightAmount;
  private double promotionAmount;
  private double integrationAmount;
  private double couponAmount;
  private double discountAmount;
  private long payType;
  private long sourceType;
  private long status;
  private long orderType;
  private String deliveryCompany;
  private String deliverySn;
  private long autoConfirmDay;
  private long integration;
  private long growth;
  private String promotionInfo;
  private long billType;
  private String billHeader;
  private String billContent;
  private String billReceiverPhone;
  private String billReceiverEmail;
  private String receiverName;
  private String receiverPhone;
  private String receiverPostCode;
  private String receiverProvince;
  private String receiverCity;
  private String receiverRegion;
  private String receiverDetailAddress;
  private String note;
  private long confirmStatus;
  @TableLogic  //逻辑删除 标记当前记录是否被删除
  private long deleteStatus;
  private long useIntegration;
  private LocalDateTime paymentTime;
  private LocalDateTime deliveryTime;
  private LocalDateTime receiveTime;
  private LocalDateTime commentTime;
  private LocalDateTime modifyTime;

}
